<template>
  <div class="input-wrap">
    <h3>{{ title }}</h3>
    <label v-for="(item, index) in options" :key="index">
      {{ item }}
      <input type="radio" :value="item" v-model="value" />
    </label>
  </div>
</template>

<script>
export default {
  props: {
    id: Number,
    title: String,
    options: Array,
  },
  data() {
    return {
      value: "",
    };
  },
};
</script>

<style></style>
